﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>下载中心 - <%=SiteConfig.WebName%></title>
<!-- ===== seo ===== -->
<%=AddMetaInfo(SiteConfig.WebKeywords, SiteConfig.WebDescription)%>
<!-- ===== css ===== -->
<link rel="shortcut icon" href="<%=SiteConfig.WebPath%>favicon.ico" mce_href="<%=SiteConfig.WebPath%>favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="<%=SiteTemplatePath("default")%>css/style.css" />
<script type="text/javascript" src="<%=SiteConfig.WebPath%>js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<%=SiteTemplatePath("default")%>js/base.js"></script>
</head>
<body>
<%template src=/_warning_ie6.htm/%>
<%template src=/_header.htm/%>
<!-- ===== 正文内容 ===== -->
<div class="container">
	<%template src=/_search_box.htm/%>
	<div class="clear"></div>
	<!-- ===== 面包屑与功能按钮 ===== -->
	<div class="bread_crumbs"><a href="<%=URLRewrite("index", "")%>">主页</a> > <a href="<%=URLRewrite("download", "")%>">下载中心</a>  <%=GetChannel_Menu("download_list1", this.classId) %>
		<div class="right_function_key"> <a href="javascript:void(0);" onclick="SetFontSize('.page_download_list', 12);"><img src="<%=SiteTemplatePath("default")%>images/font_delete.png" width="16" height="16" /> 缩小</a><a href="javascript:void(0);" onclick="SetFontSize('.page_download_list', 16);"><img src="<%=SiteTemplatePath("default")%>images/font_add.png" width="16" height="16" /> 放大</a><a href="javascript:window.print();"><img src="<%=SiteTemplatePath("default")%>images/printer.png" width="16" height="16" /> 打印</a> </div>
	</div>
	<!-- ===== 左侧正文 ===== -->
	<div class="page_left">
		<h2 id="page_title">下载中心</h2>
		<!-- ===== 下载列表 ===== -->
		<ul class="page_download_list">
			<DtContorl:Repeater ID="rptList1" runat="server" onload="Download_List_DataBind" Where='<%#this.pwhere %>' PageSize='<%#this.pagesize %>' PageIndex='<%#this.page %>'>
              <ItemTemplate>
			    <li><a href="<%#URLRewrite("download_show", Eval("Id")) %>" class="img_in_list"><img src="<%#Eval("ImgUrl")%>" alt="<%#Eval("Title")%>" width="150" height="150" /></a><a href="<%#URLRewrite("download_show", Eval("Id")) %>"><%#Eval("Title")%></a><i><%#Eval("AddTime")%><span><%#Comment_Count(this.kindId,  Convert.ToInt32(Eval("Id")))%> 评论</span></i>
				    <p><%#Utils.DropHTML(Eval("Content").ToString(), 320) %></p>
			    </li>
              </ItemTemplate>
            </DtContorl:Repeater>
		</ul>
		<%=PagerText(this.pcount, this.pagesize, this.page, URLRewrite("download_list2", this.classId, "__id__"), "pagination", "flickr")%>
	</div>
	<!-- ===== 左侧子导航 ===== -->
	<div class="page_right">
		<h3>下载类别</h3>
		<ul class="sidebar_nav">
			<%=GetChannel_List(this.kindId, 0, "download_list1")%>
		</ul>
		<h3>推荐下载</h3>
		<ul class="sidebar_news">
			<DtContorl:Repeater ID="rptList2" runat="server" onload="Download_List_DataBind" Top="8" Where="IsLock=0 and IsRed=1">
              <ItemTemplate>
			    <li><a href="<%#URLRewrite("download_show", Eval("Id")) %>"><%#Eval("Title")%></a><i><span><%#Comment_Count(this.kindId,  Convert.ToInt32(Eval("Id")))%> 评论</span><%#Eval("AddTime")%></i></li>
              </ItemTemplate>
            </DtContorl:Repeater>
		</ul>
	</div>
	<div class="clear"></div>
</div>
<%template src=/_footer.htm/%>
</body>
</html>
